<template>
	<view>
		<uni-forms ref="form" >
			<uni-forms-item label="账号" name="">
				<uni-easyinput  v-model="register.getAccount" :disabled="true" placeholder="" />
			</uni-forms-item>
			<uni-forms-item label="密码" name="">
				<uni-easyinput  v-model="register.userPassword" placeholder="" :disabled="true" />
			</uni-forms-item>
			<uni-forms-item label="" name="">
				<button type="primary" @click="loginto">确定</button>
			</uni-forms-item>
		</uni-forms>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				register:{}
			}
		},
		methods: {
			loginto(){
				uni.redirectTo({
					url:'/pages/login/login'
				})
			}
		},
		onLoad(open) {
			this.register= JSON.parse(decodeURIComponent(open.register));
			console.log(this.register);
		}
	}
</script>

<style>

</style>
